package cn.bgs.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 包名称： cn.bgs.vo
 * 类名称：MaintenanceIntermediateVo
 *
 * @author:陈峰 创建时间：2022/6/21/15:24
 */
@Data
public class MaintenanceIntermediateVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "维修记录表id")
    private Integer maintenanceId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "房屋名称")
    private String houseingName;

    @ApiModelProperty(value = "小区中间表id")
    private Integer middleId;

    @ApiModelProperty(value = "维修项目表id")
    private Integer maintenanceProjectsId;

    @ApiModelProperty(value = "维修项目类型表id")
    private Integer projectTypeId;


    @ApiModelProperty(value = "车辆图片")
    private String fileUrl;

    @ApiModelProperty(value = "标题")
    private String theTitle;

    @ApiModelProperty(value = "问题描述")
    private String problemDescription;

    @ApiModelProperty(value = "手机号码")
    private Integer phone;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "预约时间")
    private Date appointmentTime;

    @ApiModelProperty(value = "维修流程（已提交、审核中、审核通过、审核失败）")
    private String maintenanceProcess;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标志（y是删除 n是未删除）")
    private String deleteFlag;

    @ApiModelProperty(value = "小区id")
    private Integer communityId;

    @ApiModelProperty(value = "楼栋id")
    private Integer buildingId;

    @ApiModelProperty(value = "单元表id")
    private Integer cellId;

    @ApiModelProperty(value = "楼层表id")
    private Integer floorId;

    @ApiModelProperty(value = "房屋表id")
    private Integer portalId;

    @ApiModelProperty(value = "审核状态（审核成功、审核中、审核失败）")
    private Integer middleState;

}
